package com.nineclock.sign.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_user")
public class SysUser implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;

    //姓名
    private String name;

    //密码
    private String password;

    //手机号
    private String mobile;

    //微信
    private String wxAccount;

    //邮箱
    private String email;

    //QQ
    private String qqAccount;

    //主体颜色
    private String color;

    //状态
    private short status;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    //最后登录公司id
    private Long lastLoginCompanyId;
}
